Skip to content

feat: grey the dashboard dot for undeployed nodes - #143

Merged
outofcoffee merged 4 commits into
mainfrom
dash-undeployed-idle-grey
Sep 2, 2026
Merged

feat: grey the dashboard dot for undeployed nodes#143
outofcoffee merged 4 commits into
mainfrom
dash-undeployed-idle-grey

Conversation

@outofcoffee

Copy link
Copy Markdown
Collaborator

A fleet dashboard node with no engine deployed drew the same green dot as a node that is running and ready, so a grid of undeployed nodes read as healthy at a glance when it is actually empty.

Summary

  • Add a fifth dashboard health tier, not serving, for nodes that answered their last refresh but are not serving anything: engine state idle or stopped, with no start or stop in flight.
  • Its status dot is the faded grey the unknown tier already uses, but a filled dot rather than the ?: a node known to be undeployed stays distinct from one the dashboard has not heard from yet.
  • Update the fleet-client health-indicator spec from four tiers to five, and move the byte-stable idle tile and the tier table test to the new tier, with stopped and start-in-flight rows added.

Implementation details

  • stopped is covered alongside idle: a daemon whose engine was stopped and a remote environment at scale to zero report the same state, and two off states wearing two different dots on one grid would read as inconsistent.
  • The tier case sits after the empty-state check and immediately before default in dashHealthTierFor, so the existing precedence is untouched: a start in flight over an idle report still reads attention, a failed outcome still reads unhealthy.
  • Only the dot changes: the tile body keeps printing exactly what fleet metrics prints, and no other surface draws the glyph.

@outofcoffee outofcoffee added enhancement New feature or request go Pull requests that update go code labels Sep 2, 2026
A remote environment with no instance at all reports undeployed, a
third not-serving state beside the daemon's idle and stopped; it fell
through the tier to green, so the dashboard showed a serving dot for
an empty environment.
@outofcoffee
outofcoffee merged commit 7a85f6e into main Sep 2, 2026
2 checks passed
@outofcoffee
outofcoffee deleted the dash-undeployed-idle-grey branch September 2, 2026 01:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant